package com.code.mvc.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScan.Filter;
import org.springframework.context.annotation.FilterType;
import org.springframework.stereotype.Controller;


/**
 * Spring的容器不扫描controller;父容器
 *
 * @author wangjie
 * @version V1.0
 * @date 2020/1/13
 */
@ComponentScan(value="com.code",excludeFilters={
		@Filter(type=FilterType.ANNOTATION,classes={Controller.class})
})
public class RootConfig {

}
